package com.graduation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.common.domain.dto.PageDTO;
import com.graduation.pojo.dto.LegalDocumentDTO;
import com.graduation.pojo.po.LegalDocument;
import com.graduation.pojo.query.LegalDocumentQuery;
import com.graduation.pojo.vo.LegalDocumentDetailVO;
import com.graduation.pojo.vo.LegalDocumentVO;

public interface LegalDocumentService extends IService<LegalDocument> {

    PageDTO<LegalDocumentVO> pageLegalDocuments(LegalDocumentQuery query);

    LegalDocumentDetailVO getLegalDocumentById(Long id);

    void saveLegalDocument(LegalDocumentDTO legalDocumentDTO);

    void updateLegalDocument(LegalDocumentDTO legalDocumentDTO);

    void deleteLegalDocument(Long id);

    LegalDocumentDetailVO detail(Long id);
}
